Documentation for class box

Inherits from 	gadget 

Properties declared in box 
	border_type 
	content_slide 
	horizontal_offset 
	title 
	title_font 
	title_position 
	vertical_offset 

Class Methods declared in box 
	new 

Methods declared in box 
	action 
		size_to_fit 
	any 
		border_type 
		content_slide 
		horizontal_offset 
		set_border_type(type) 
		set_content_slide(slide) 
		set_horizontal_offset(number) 
		set_offsets(horizontal, vertical) 
		set_title(string) 
		set_title_font(font) 
		set_title_position(symbol) 
		set_vertical_offset(number) 
		size_to_fit 
		title 
		title_font 
		title_position 
		vertical_offset 
	get 
		border_type 
		content_slide 
		horizontal_offset 
		title 
		title_font 
		title_position 
		vertical_offset 
	set 
		set_border_type(type) 
		set_content_slide(slide) 
		set_horizontal_offset(number) 
		set_title(string) 
		set_title_font(font) 
		set_title_position(symbol) 
		set_vertical_offset(number) 

Class 
#begin_class
box 
The class box is a subclass of the class gadget. 
A box is a gadget with a frame, title and a content-slide. Is is useful for grouping graphics.
#end_class

Properties 

#begin_property
border_type 
Stores the border-type of the box. 
The different border-types are:
#no_border
#border
#groove_border
#gray_bezel_border
#end_property

#begin_property
content_slide 
Stores a reference to the slide that is the content-slide of the box.
#end_property

#begin_property
horizontal_offset 
Stores the horizontal offset between the frame of the box and the frame of the content-slide.
#end_property

#begin_property
title 
Stores the title of the box.
#end_property

#begin_property
title_font 
Stores the font object of the title.
#end_property

#begin_property
title_position 
Stores a symbol that specifies the position of the title of the box.
The different title positions are:
#no_title
#above_top
#at_top
#below_top
#above_bottom
#at_bottom
#below_bottom
#end_property

#begin_property
vertical_offset 
Stores the vertical offset between the frame of the box and the frame of the content-slide.
#end_property

Methods 

#begin_method
border_type 
Returns the border_type property of the box.
#end_method

#begin_method
content_slide 
Returns the content_slide property of the box.
#end_method

#begin_method
horizontal_offset 
Returns the horizontal_offset property of the box.
#end_method

#begin_method
set_border_type(type) 
Sets the border_type property to type.
The different border-types are:
#no_border
#border
#groove_border
#gray_bezel_border
Returns self.
#end_method

#begin_method
set_content_slide(slide) 
Sets the content_slide property to slide.
Returns self.
#end_method

#begin_method
set_horizontal_offset(number) 
Sets the horizontal_offset property to number.
Returns self.
#end_method

#begin_method
set_offsets(horizontal, vertical) 
Sets the horizontal_offset property to horizontal and the vertical_offset property to vertical.
Returns self.
#end_method

#begin_method
set_title(string) 
Sets the title property to string.
Returns self.
#end_method

#begin_method
set_title_font(font) 
Sets the title_font property to font.
Returns self.
#end_method

#begin_method
set_title_position(symbol) 
Sets the title_position property to symbol.
Returns self.
#end_method

#begin_method
set_vertical_offset(number) 
Sets the vertical_offset property to number.
Returns self.
#end_method

#begin_method
size_to_fit 
Resizes the content-slide so that it is big enough to hold all the graphics in it. The box itself will be resized accordingly.
Returns self.
#end_method

#begin_method
title 
Returns the title property of the box.
#end_method

#begin_method
title_font 
Returns the title_font property of the box.
#end_method

#begin_method
title_position 
Returns the title_position property of the box.
#end_method

#begin_method
vertical_offset 
Returns the vertical_offset property of the box.
#end_method

Class Methods 

#begin_class_method
new 
Returns a new box object.
Ex:
{box}:new
#end_class_method